// 自变量增强写法
var name = "yz"
var age = 18
var obj = {
  // 1.property shorthand
  name,
  age,
  // 2.method shorthand
  foo() {

  },
  // 3.computed property name计算属性名
  [name + 123]: 'hehehe'
}

console.log(obj)
